home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8131 < prev    next >
Encoding:
Text File  |  1996-08-05  |  844 b   |  26 lines

  1. Newsgroups: comp.lang.c
  2. Path: cs.mun.ca!sjt
  3. From: sjt@cs.mun.ca (Stephen J. Tremblett)
  4. Subject: Re: Ability to locate spaces?
  5. Message-ID: <1996Mar1.183326.16265@cs.mun.ca>
  6. Sender: usenet@cs.mun.ca (NNTP server account)
  7. Organization: CS Dept., Memorial University of Newfoundland
  8. X-Newsreader: TIN [version 1.2 PL2]
  9. References: <Pine.SOL.3.91.960215222301.15979A-100000@teer1.acpub.duke.edu> <3129dc3a.706665@news.iquest.net>
  10. Date: Fri, 1 Mar 1996 18:33:26 GMT
  11.  
  12.  
  13. Did anyone consider using strtok()?  I had a similar problem in designing
  14. a small command interpreter.  strtok() will take a string and chop it 
  15. into smaller strings and leave them as elements of an array of strings.
  16.  
  17.  
  18.  
  19. Steve T.
  20.  
  21. -- 
  22. I am far to young to feel so old
  23. And far too tired to care
  24. But I took down twenty bastards before they left me lying there
  25.  - The Lowest of the Low
  26.